package com.woniu.order.controller;

import com.woniu.common.utils.PageData;
import com.woniu.common.utils.ResponseData;
import com.woniu.order.dto.ZcxCustomerOrderDTO;
import com.woniu.order.feign.ZcxOrderFeign;
import com.woniu.order.feign.ZsbUumsFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/order")
public class ZcxOrderController {

    @Autowired
    private ZcxOrderFeign  zcxOrderFeign;
    /**
     * 查询订单列表
     */
    @PostMapping("/queryOrderList")
    public ResponseData<?> queryOrderList(@RequestBody PageData<ZcxCustomerOrderDTO> pageData){
        return   zcxOrderFeign.queryOrderList(pageData);
    }



}
